<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@page import="com.qunar.base.meerkat.web.UserValueObject"%>
<%
UserValueObject user = (UserValueObject) session.getAttribute(UserValueObject.USER_VALUE_OBJECT_KEY);
String location = "/site/home.htm";

if (user != null) {
    location = "/system/main.htm";
}
response.sendRedirect(location);
%>